package com.tool.engine.export.output;

import com.tool.engine.export.task.Task;

public class DataOutputSourceFactory {

    public static DataOutputSource createDataOutPutSource(String outPutType, Task<?> task, String filePath) {
        switch (outPutType) {
            case "excel":
                return new ExcelOutputSource(filePath, task);
            default:
                return null;
        }
    }
}


